<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.2.1">
  <bpmn:error id="rollingExceptionId" name="rollingExceptionName" errorCode="org.camunda.bpm.qa.upgrade.BuisnessError" />
  <bpmn:process id="processWithEventSubProcess" isExecutable="true">
    <bpmn:startEvent id="StartEvent_1" name="Start">
      <bpmn:outgoing>SequenceFlow_1y9nv9h</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:sequenceFlow id="SequenceFlow_1y9nv9h" sourceRef="StartEvent_1" targetRef="Task_0glkwh9" />
    <bpmn:serviceTask id="Task_0glkwh9" name="ServiceTask" camunda:asyncBefore="true" camunda:class="org.camunda.bpm.qa.upgrade.FailingDelegate">
      <bpmn:incoming>SequenceFlow_1y9nv9h</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1utfnh4</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="SequenceFlow_1utfnh4" sourceRef="Task_0glkwh9" targetRef="Task_0mt9tvj" />
    <bpmn:userTask id="Task_0mt9tvj" name="TaskAfterServiceTask">
      <bpmn:incoming>SequenceFlow_1utfnh4</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1bzpdpi</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:endEvent id="EndEvent_1jw6kn2" name="End1">
      <bpmn:incoming>SequenceFlow_1bzpdpi</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="SequenceFlow_1bzpdpi" sourceRef="Task_0mt9tvj" targetRef="EndEvent_1jw6kn2" />
    <bpmn:subProcess id="Task_1dfd5ju" name="CatchErrorSubProcess" triggeredByEvent="true">
      <bpmn:startEvent id="StartEvent_0es3rku" name="Catch Error">
        <bpmn:outgoing>SequenceFlow_0wky0cr</bpmn:outgoing>
        <bpmn:errorEventDefinition />
      </bpmn:startEvent>
      <bpmn:sequenceFlow id="SequenceFlow_0wky0cr" sourceRef="StartEvent_0es3rku" targetRef="Task_15k3yjr" />
      <bpmn:sequenceFlow id="SequenceFlow_0nk4qc9" sourceRef="Task_15k3yjr" targetRef="EndEvent_1vlp4gq" />
      <bpmn:endEvent id="EndEvent_1vlp4gq" name="End">
        <bpmn:incoming>SequenceFlow_0nk4qc9</bpmn:incoming>
      </bpmn:endEvent>
      <bpmn:userTask id="Task_15k3yjr" name="TaskInEventSubProcess">
        <bpmn:incoming>SequenceFlow_0wky0cr</bpmn:incoming>
        <bpmn:outgoing>SequenceFlow_0nk4qc9</bpmn:outgoing>
      </bpmn:userTask>
    </bpmn:subProcess>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="processWithEventSubProcess">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds x="370" y="270" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="343" y="306" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1y9nv9h_di" bpmnElement="SequenceFlow_1y9nv9h">
        <di:waypoint xsi:type="dc:Point" x="406" y="288" />
        <di:waypoint xsi:type="dc:Point" x="619" y="288" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="467.5" y="263" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ServiceTask_1dqkprt_di" bpmnElement="Task_0glkwh9">
        <dc:Bounds x="619" y="248" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1utfnh4_di" bpmnElement="SequenceFlow_1utfnh4">
        <di:waypoint xsi:type="dc:Point" x="719" y="288" />
        <di:waypoint xsi:type="dc:Point" x="832" y="288" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="730.5" y="263" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="UserTask_0zzq5ad_di" bpmnElement="Task_0mt9tvj">
        <dc:Bounds x="832" y="248" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_1jw6kn2_di" bpmnElement="EndEvent_1jw6kn2">
        <dc:Bounds x="1066" y="270" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1039" y="306" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1bzpdpi_di" bpmnElement="SequenceFlow_1bzpdpi">
        <di:waypoint xsi:type="dc:Point" x="932" y="288" />
        <di:waypoint xsi:type="dc:Point" x="1066" y="288" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="954" y="263" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="SubProcess_0gns3g1_di" bpmnElement="Task_1dfd5ju" isExpanded="true">
        <dc:Bounds x="340" y="423" width="350" height="200" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="StartEvent_0f13atu_di" bpmnElement="StartEvent_0es3rku">
        <dc:Bounds x="374" y="505" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="347" y="541" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0wky0cr_di" bpmnElement="SequenceFlow_0wky0cr">
        <di:waypoint xsi:type="dc:Point" x="410" y="523" />
        <di:waypoint xsi:type="dc:Point" x="473" y="523" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="396.5" y="498" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0nk4qc9_di" bpmnElement="SequenceFlow_0nk4qc9">
        <di:waypoint xsi:type="dc:Point" x="573" y="523" />
        <di:waypoint xsi:type="dc:Point" x="622" y="523" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="552.5" y="498" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="EndEvent_072uudu_di" bpmnElement="EndEvent_1vlp4gq">
        <dc:Bounds x="622" y="505" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="595" y="541" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="UserTask_0hy1wp2_di" bpmnElement="Task_15k3yjr">
        <dc:Bounds x="473" y="483" width="100" height="80" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
